﻿#include <iostream>
#include<string>
using namespace std;

int main()
{
    std::cout << "Hello World!\n";
    string m;
    getline(cin, m);
    string n;
    getline(cin, n);
    if (m == n) {
        cout << m << endl;
    }
    else if (m > n)
        cout << m << endl;
    else
        cout << n << endl;
    if (m.size() > n.size())
        cout << m << endl;
    else
        cout << n << endl;
    string h = "you are a person";
    for (int i = 0;i < h.size();i++)
    {
        h[i] = 'x';
    }
    cout << h << endl;
    //2
    const int size = 10;
    char a[size];
    for (int i = 0;i < size;i++) {
        a[i] = i;
    }
    char* pb = begin(a);
    char* pe = end(a);
    while (pb != pe)
    {
        *pb = 0;
       *pb++;
        cout << *pb << endl;
    }

}

